Skip to content

feat(tools-react-native): add additional platform helpers#3490

Merged
JasonVMo merged 8 commits intomicrosoft:mainfrom
JasonVMo:rn-platform-utils
Jan 25, 2025
Merged

feat(tools-react-native): add additional platform helpers#3490
JasonVMo merged 8 commits intomicrosoft:mainfrom
JasonVMo:rn-platform-utils

Conversation

@JasonVMo
Copy link
Collaborator

@JasonVMo JasonVMo commented Jan 22, 2025

Description

This adds several helpers to the @rnx-kit/tools-react-native package for dealing with platform names and extensions. These are needed by the new typescript related package I'm working on and will also help centralize some things into a core package. In particular the @rnx-kit/metro-plugin-typescript package uses some of this functionality and that will be adjusted as a separate change.

Update: This also adds visionos to the list of valid platforms supported in @rnx-kit/tools-react-native.

Test plan

I've been testing these changes as part of a larger change, but given this is purely additive the test plan for this PR is just to pass the standard tests.

@JasonVMo JasonVMo requested review from tido64 and removed request for tido64 January 22, 2025 19:26
@JasonVMo JasonVMo merged commit 1b0e033 into microsoft:main Jan 25, 2025
10 checks passed
@JasonVMo JasonVMo deleted the rn-platform-utils branch January 25, 2025 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants